export interface detailModel {
  categoryView: category,
  price: number,
  skuInfo:sku,
  spuSaleAttrList: spuSale
}

// categoryView 的数据
export interface category{
  category1Id: number,
  category1Name: string,
  category2Id: number,
  category2Name: string,
  category3Id: number,
  category3Name: string,
  id: number
}

// skuInfo 的数据
export interface sku{
  category3Id: number,
  createTime: string,
  id: number,
  isSale: number,
  price: number,
}

export type spuSale = spuSaleAttr[]

// spuSaleAttrList 的一条数据
export interface spuSaleAttr{
  baseSaleAttrId: number,
  id: number,
  saleAttrName: string,
  spuId: number,
}